﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000635 RID: 1589
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetAllLineupDataScRsp : IMessage<GetAllLineupDataScRsp>, IMessage, IEquatable<GetAllLineupDataScRsp>, IDeepCloneable<GetAllLineupDataScRsp>, IBufferMessage
	{
		// Token: 0x17001497 RID: 5271
		// (get) Token: 0x060047CB RID: 18379 RVA: 0x000C6147 File Offset: 0x000C4347
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetAllLineupDataScRsp> Parser
		{
			get
			{
				return GetAllLineupDataScRsp._parser;
			}
		}

		// Token: 0x17001498 RID: 5272
		// (get) Token: 0x060047CC RID: 18380 RVA: 0x000C614E File Offset: 0x000C434E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetAllLineupDataScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001499 RID: 5273
		// (get) Token: 0x060047CD RID: 18381 RVA: 0x000C6160 File Offset: 0x000C4360
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetAllLineupDataScRsp.Descriptor;
			}
		}

		// Token: 0x060047CE RID: 18382 RVA: 0x000C6167 File Offset: 0x000C4367
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetAllLineupDataScRsp()
		{
		}

		// Token: 0x060047CF RID: 18383 RVA: 0x000C617C File Offset: 0x000C437C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetAllLineupDataScRsp(GetAllLineupDataScRsp other) : this()
		{
			this.lineupList_ = other.lineupList_.Clone();
			this.curIndex_ = other.curIndex_;
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060047D0 RID: 18384 RVA: 0x000C61C9 File Offset: 0x000C43C9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetAllLineupDataScRsp Clone()
		{
			return new GetAllLineupDataScRsp(this);
		}

		// Token: 0x1700149A RID: 5274
		// (get) Token: 0x060047D1 RID: 18385 RVA: 0x000C61D1 File Offset: 0x000C43D1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<LineupInfo> LineupList
		{
			get
			{
				return this.lineupList_;
			}
		}

		// Token: 0x1700149B RID: 5275
		// (get) Token: 0x060047D2 RID: 18386 RVA: 0x000C61D9 File Offset: 0x000C43D9
		// (set) Token: 0x060047D3 RID: 18387 RVA: 0x000C61E1 File Offset: 0x000C43E1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint CurIndex
		{
			get
			{
				return this.curIndex_;
			}
			set
			{
				this.curIndex_ = value;
			}
		}

		// Token: 0x1700149C RID: 5276
		// (get) Token: 0x060047D4 RID: 18388 RVA: 0x000C61EA File Offset: 0x000C43EA
		// (set) Token: 0x060047D5 RID: 18389 RVA: 0x000C61F2 File Offset: 0x000C43F2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x060047D6 RID: 18390 RVA: 0x000C61FB File Offset: 0x000C43FB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetAllLineupDataScRsp);
		}

		// Token: 0x060047D7 RID: 18391 RVA: 0x000C620C File Offset: 0x000C440C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetAllLineupDataScRsp other)
		{
			return other != null && (other == this || (this.lineupList_.Equals(other.lineupList_) && this.CurIndex == other.CurIndex && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060047D8 RID: 18392 RVA: 0x000C626C File Offset: 0x000C446C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.lineupList_.GetHashCode();
			if (this.CurIndex != 0U)
			{
				num ^= this.CurIndex.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060047D9 RID: 18393 RVA: 0x000C62D2 File Offset: 0x000C44D2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060047DA RID: 18394 RVA: 0x000C62DA File Offset: 0x000C44DA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060047DB RID: 18395 RVA: 0x000C62E4 File Offset: 0x000C44E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.Retcode);
			}
			this.lineupList_.WriteTo(ref output, GetAllLineupDataScRsp._repeated_lineupList_codec);
			if (this.CurIndex != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.CurIndex);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060047DC RID: 18396 RVA: 0x000C6350 File Offset: 0x000C4550
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.lineupList_.CalculateSize(GetAllLineupDataScRsp._repeated_lineupList_codec);
			if (this.CurIndex != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.CurIndex);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060047DD RID: 18397 RVA: 0x000C63BC File Offset: 0x000C45BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetAllLineupDataScRsp other)
		{
			if (other == null)
			{
				return;
			}
			this.lineupList_.Add(other.lineupList_);
			if (other.CurIndex != 0U)
			{
				this.CurIndex = other.CurIndex;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060047DE RID: 18398 RVA: 0x000C641D File Offset: 0x000C461D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060047DF RID: 18399 RVA: 0x000C6428 File Offset: 0x000C4628
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 66U)
					{
						if (num != 120U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.CurIndex = input.ReadUInt32();
						}
					}
					else
					{
						this.lineupList_.AddEntriesFrom(ref input, GetAllLineupDataScRsp._repeated_lineupList_codec);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04001C98 RID: 7320
		private static readonly MessageParser<GetAllLineupDataScRsp> _parser = new MessageParser<GetAllLineupDataScRsp>(() => new GetAllLineupDataScRsp());

		// Token: 0x04001C99 RID: 7321
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001C9A RID: 7322
		public const int LineupListFieldNumber = 8;

		// Token: 0x04001C9B RID: 7323
		private static readonly FieldCodec<LineupInfo> _repeated_lineupList_codec = FieldCodec.ForMessage<LineupInfo>(66U, LineupInfo.Parser);

		// Token: 0x04001C9C RID: 7324
		private readonly RepeatedField<LineupInfo> lineupList_ = new RepeatedField<LineupInfo>();

		// Token: 0x04001C9D RID: 7325
		public const int CurIndexFieldNumber = 15;

		// Token: 0x04001C9E RID: 7326
		private uint curIndex_;

		// Token: 0x04001C9F RID: 7327
		public const int RetcodeFieldNumber = 1;

		// Token: 0x04001CA0 RID: 7328
		private uint retcode_;
	}
}
